<script setup lang="ts">
import JcFooterContact from '@/components/JcFooterContact/index.vue'
let props = defineProps({
  showDriver:{
    type:Boolean,
    default:true,
  },
  showContact:{
    type:Boolean,
    default:true
  }
})
</script>

<template>
  <footer class="jc-footer">
    <div class="container jc-center-width">
      <!--  联系我们  -->
      <JcFooterContact v-if="props.showContact"></JcFooterContact>
      <div class="driver" v-if="props.showDriver" ></div>
      <div class="jc-footer-nav">
        <div class="jc-footer-nav-top">
            <div class="jc-footer-nav-t-left">
              <ul class="jc-footer-nav-t-list">
                <li class="list-title">
                  腾讯设计云
                </li>
                <li class="list-title">
                  CoDesign
                </li>
                <li class="list-title">
                  ProWork
                </li>
                <li class="list-title">
                  TDesign
                </li>
              </ul>
              <ul class="jc-footer-nav-t-list">
                <li class="list-title">
                  腾讯调研云
                </li>
                <li class="list-title">
                  腾讯问卷
                </li>
                <li class="list-title">
                  腾讯兔小果
                </li>
              </ul>
              <ul class="jc-footer-nav-t-list">
                <li class="list-title">
                  合作链接
                </li>
                <li class="list-title">
                  IXDC
                </li>
                <li class="list-title">
                  ProWork
                </li>
                <li class="list-title">
                  优化网
                </li>
                <li class="list-title">
                  深圳海事局
                </li>
                <li class="list-title">
                  军事中国
                </li>
              </ul>
            </div>
          <div class="jc-footer-nav-t-right">
            <img class="qr-code" src="https://img.zcool.cn/community/01009a59bb2db8a80120753414e6b7.gif" alt="" srcset="">
            <p class="qr-desc">扫码关注京城贸易,更多惊喜</p>
          </div>
        </div>
        <div class="jc-footer-nav-bottom">
          <p class="auth">Copyright © 1998 - 2023 京城贸易. 版权归京城贸易所有</p>
        </div>
      </div>
    </div>
  </footer>
</template>


<style lang="scss" scoped>
.jc-footer {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 48px;
  background-color: var(--jc-desc-page-color);
  .container {
    padding: 0px 15px;
    .driver {
      margin: 47px 0px 43px;
      width: 100%;
      height: 1px;
      background-color: rgba(0,0,0,.09);
    }
    .jc-footer-nav {
      //padding-top: 50px;
      //padding-bottom: 48px;
      .jc-footer-nav-top {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        .jc-footer-nav-t-left {
          max-width: 600px;
          display: flex;
          flex: 1;
          .jc-footer-nav-t-list {
            flex: 1;
            margin-right: 20px;
            .list-title {
              line-height: 24px;
              font-size: 16px;
              opacity: .6;
              margin-bottom: 6px;
              &:first-child {
                margin-bottom: 10px;
                opacity: 1;
                font-size: 18px;
                font-weight: bolder;
              }
            }
          }
        }
        .jc-footer-nav-t-right {
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          .qr-code {
            width: 120px;
            height: 120px;
            object-fit: cover;
          }
          .qr-desc {
            text-align: center;
            font-size: 14px;
            opacity: .6;
            margin-top: 24px;
          }
        }
      }
      .jc-footer-nav-bottom {
        margin-top: 48px;
        font-size: 12px;
        color: #000;
        letter-spacing: 1px;
        font-weight: bolder;
      }
    }
  }
}
</style>
